package com.itfreer.cms.service.message;

import javax.ws.rs.Path;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.itfreer.cms.entity.message.MessageBoardEntity;
import com.itfreer.form.api.BaseRestService;
import com.itfreer.form.api.BaseService;

/**
 * 留言板对外服务
 * @author 82650
 *
 */
@Component
@Path("/cms_messageboard_show/")
public class RestMessageBoardShowService extends BaseRestService<MessageBoardEntity>{

	@Autowired(required = false)
	private MessageBoardService messageBoardService;
	
	@Override
	protected BaseService<MessageBoardEntity> getService() {
		// TODO Auto-generated method stub
		return messageBoardService;
	}

	@Override
	protected String getServiceName() {
		// TODO Auto-generated method stub
		return "cms_messageboard_show";
	}

}
